Both at the same time. If you repeatedly migrate in order to maintain a foraging and hunting lifestyle, you are sufficiently aware of the undependability of foraging and hunting to make large R&D investments in experimental methods of agriculture and animal husbandry.