add automation code generation tool