modified errors in run.sh