fix uninstall

uninstall now follows the same process as install to reflect the possible existence of a different shell loader.