added some support for stderr data routing