Add automate script.