Flex for Industry 4.0