Automation script updated for CI.