Make hook file executable, fix typo.