Added CS to CSV

Previously, CS was not outputted to a CSV. Now, it is.
Modifications for header

Made modifications to fix the error with headers Andy found. New headers
have not been in use, so it has not been a problem to date.