Calculate date of next sunday
Better error handling for config file