Automation Engine Running really slow