Added pre-commit script.