modified runxxx.sh