XML output option added