Create basic automaton script.