Choosing what to automate