Rework to alow DIO contact to work