added pre-commit.sh to prevent deliberate mistakes