added xml attribute for config to xml