reshaping root directory