run only from cli
add uninstall hook
remove unactivate hook