Now creates output directories