Revert "Improving generated script by EditText function"

This reverts commit 131b0620e4aafd01feec81b92c16f79b0a004ffa.