Made script to generate csv_data files