new script generation