automatic shunt