Renaming glob. variables and calendar dictionary implemented.