Made map gen more data driven.