Fixing script error.