add post-install and post-uninstall