Added command priorities allowing for custom order of execution.