Update automation.php