TESTING: Removed bashisms from run.sh and debug.sh .