added pre-commit hook script for version numbering