OPENUCB-348: Added post-upgrade.sh script and beginnings of pre-upgrade.sh script.