Improved the way of getting the version from the plist file