Fix up pre-commit script