Updated run.sh and made minor changes