manage dir