improving uninstallation script