Add ability to export to csv