removed some prints now goes to csv file in home dir of user only errors output