Use $BIN_DIR in hooks.
Merge branch 'hooks-fix'