use external xml config file