Added a pre-commit script