cranks but won't start?

When you swapped the engine in, did you have to remove or loosen the distributor at all? There is a cam-crank sync that has to be done if you do, and it won't start or in some cases may start after a really long crank.

How do you sync it up, or does it do it automatically?