added getTime() to start Automation