changed 'deploy' to 'install', stop modules before uninstalling