fixed analyze definition to match cli order