I've updated my script now that I have had a chance to try it.
In reply to Re^3: CSV column names by Mr. Muskrat in thread CSV column names by Anonymous Monk