Added pre-commit hook setup script.