rename mkpaths to mkenv