Update pre-commit hook to find scripts correctly