change uninstall shell to fit newest API