adding if case for sched check box
adding if case for sched check box
adding if case for sched check box
adding if case for sched check box