Replace making output directory