Adding ability to export to CSV