Implement support for existing pre-commit hook scripts