change config file to xml