replace deprecated publishInstall by activateApp()