add gems for scheduling for #835 and #576
add gems for scheduling for #835 and #576