your 97 tranny will work on the H22 only gearing will be diffrent as for smog you need to use the prelude computer ,the motor is bolt in only the driver's mount has to be from a 4th gen lude .also make sure you get the computer from a car with the key and immobilizer unit as it won't start without it .