I put an e36 m42 into my e30 and didn't do anything but hook everything back up. I took all the sensors (oil filter housing, two coolant sensors, both CPS', TPS, and any others from the e30 and just put them on the e36 just in case) and then hooked up the old harness. I left the knock sensors alone and just let the connections free