better automatic tool version management, using a git hook
hook script return value corrected to 0