Adds rudimentary CSV export