Extracting Range and time Unit from query. Adding parameters in configuration file