Enhanced priority parser to ignore command first