Connect wires back to their designated positions