add automation.js