modifying calendar script