Preparing config.xml