Rewrote Automaton CLI