I also forgot to mention that it helps if you have the VIN of the donor vehicle you get the engine or parts from and make sure you have a park/neutral switch for an auto or a switch where you have to push in the clutch to start if manual. And when you go in, don't call it an engine swap but an engine change, the smog refs don't know the ins and outs of all vehicles so there is a lot that will go unnoticed as long as everything "looks" right, you provide a bunch of EO approved numbers for parts you installed and you pass the sniffer test.