Fixes traceback issues
Downgrades 2.7 syntax to 2.6 in scheduler