Move output directory creation