fix torque script