Added dir rooting