Automation maintenance & optimization