how to wire automatic pump control