Combined auto generate scripts into one script that creates parameter file and state outputs file