Adding new auxiliar functions to uninstall with subdirectories