added commit hook