Enable intermediate directory