made create and write functions consistent fixed render issue that was not including dialect name in generated files added loop to codeToRun to generate all scripts.