Export to CSV now works, well, kind of anyway