switched back to xml config