fixing script 2