remove unused function
remove unused function
helper for writing files
remove print
get cronjob outputs working
remove unused function