Script correction