minor updates, exporting csv data