The script will now run automatically when the module is installed so that the migrations and publish happen automatically.