Finalized bin/githooks and changes relevant to making it work