added hook checker
Merge pull request #18 from zelgerj/master

added hook checker