Initial semi-working support for external commands to automata.