added profile export to xml