tweaks to improve automation.