modified scheduler file