Make the date time extractor a config parameter