Only load the config once
Take —env into account
Log the migration output