add directory creation sync