Another hook fix

- Forgot to close a quote
- Removed unnecessary bash-isms
Merge branch 'hotfix/ey-hook'