Fix failure in script