How to automate your works