new script counter