added right pre-commit hook