export to csv and configuration