change the way the output-redirector gets input