Update runandlog.sh