Adding -T type to sched commands, change query -t to -T