Added pre-commit hook