Added functionality to adjust the config.xml based on configuration values