Made it record new data to output.csv