adding more end states, fixing transition states to be files instead of commands