Automation and safety