Improved uninstall script.