Updated pre-commit script.