make some change to singleProcess.py