Added line to export data to .csv