Changed schedule fragment to be generated programatically