Modernizing outdated technology in chemical plants