removes old helper functions and fixes email sending to print status to cmd line