run.sh fixes