Adding support for named pipes output, not tested though