gate dir create