Appropriate automation for flexible manufacturing