upgrade.py script using VERSION.txt and a package version .cfg file
fixed upgrade.py