updated schedule.py to print logfile