Added basic CSV exporting