run.sh: Pass --foreground to timeout
run.sh: Create done.txt file at end of run