Adding the ability to export csvs