How does the Ugly Fix work for Detroitdiesel or Cummins ? The barometric pressure sensor on the engine regulates altitude and direct the EGR accordingly. (open low altitude or close high altitude) The Ugly Fix™ works by changing the circuit flow to the ECM