changes in exporting excel to CSV (still not fully working)