Fix bug in runscript.sh