read the configuration value from the right location