Script fix