modify Calendar-related script