get/set basepath + build map erin