add sudo and check sched