add hook in cabal