Added haskell hook