Add a config option for max date