fixing script test failures