add install hooks