Update the main.py file to cooperate with the new calendar