adding an output directory