re-add logic for install, remove