amend to check new script