Labor market performance as a determinant of migration