Add support for hooks
Merge pull request #8 from bhoflack/HOOKS

Add support for hooks