Modernizing manufacturing systems