Fixing script file