changed to work with flow-activated external water heater