added dfa scripts