Adding xml output option