When I was scripting, there should be "end" automatically typed but nothing happened. Why is this so? How can I enable auto type?