Exports successfully to csv