If the wiring and plugs are OK you may have to replace the 02 sensor. If you reused the sensors in the replacement pipes, it may have been damaged when you swapped them to the new pipes.
Look over the connections to make sure everything is plugged in properly.