Reworked 1,2 redirection in runWithGraphs.sh.