refactored config.xml