GenerateScripts