Update run.sh

Updated some override checks.