clean debug script