addded bib suport for directed outputs