Make the migrate alias faster

This was loading up the environment four times when it really only needs to
happen twice.