appVer-2.py modified to a new func