Update version_check.sh so that it may be run from directories other than the one it resides