Fixing script variables.