Adding logic to read config settings.