So back story, bought the legacy used,replaced timing belt, gears, crank and cam poisoning sensors.car was finally running great. I could feel wires dangling down under dash when I drove. Climbed under dash saw two green connector plugged them in and started car. CEL came on flashing quickly. Turned off csr, disconnected green connecters restarted car and the idle had gone from incredible to incredibly rough. It nearly wanted to die a couple times. It almost sounds/feels like it was misfiring but not sure if that's it. Could really use some help.