Update version_check.sh script to be more logically readable