Added a new print debug statement in schedule