new script & output