Working excel export

+cleaning
script time to long!