nicer formating in automation.js