Changed import order in scheduler