pre-commit script update