Add install and uninstall hooks