CollectData now only writes the column header once