adding comments to workscheduler.py