Moved calendar scripts to a separate file