Moved csv header to print_csv_data()