testing script generation