change scheduler.py