fixing script