implemented uninstall switch