Add --version flag to upgrade.sh

Change-Id: Ied867c7049675c586fb68e1a426e52bb498c61bc