Now mixes bodystates into the data as its saved to the csv.