I'm working on an creating a template for a software product we use. The first line of data needs to be 6 columns, the data needs to be 7 columns. When I output the finished file to CSV, the header has an extra comma and the file will not import. I'm trying to find a way where that null value in the header line will be excluded when writing to a CSV file. At the moment, I have been editing each file to remove the comma manually. There has to be an easier way.
This is what I get on output.

This is the output right before writing the .CSV file

Here are the settings for the output tool.

Any help to eliminate the very last comma in the first line would be greatly appreciated.