added pre-commit script