new script code