updated calendar generator to fit real parameters given for course