Updating logic for setting APP_VERSION constant