Working on export to CSV