add gems for scheduling for #835 and #576