Remove validator for the Script type

fixes #7036