adding the commit hook because i got it working (i will try to remember to update it, shouldn't be too hard)