Improve install/uninstall scripts.