if params calendar, execute calendar specifics.