update runProgram.py