add export to csv with leading result