better scheduler file