How Software and Automation are Helping In-plants Thrive