add date range and support multiple config files