Another tip for you.
Normally when the pan is tightened up the bolts distort the metal around the holes a bit. Pushes the metal towards the rail on the motor. Before you put the pan back on use a ball peen hammer and tap the metal around the bolt holes back the other way. That way the gasket will sit flat between the pan and rail.