Create generatePathrethese