Migration, labor tasks and production structure