adding pre-commit script