added stdout & stderr to subprocesses