Remove debug code
Update the criteria for the calendar file

Only keep 14 days before day to keep the size of the file under control