Fix run-hooks calls

run-hooks expects symbol as an argument.
Merge pull request #20 from maio/patch-1

Fix run-hooks calls