Added edit script/query UI
Revert "Added edit script/query UI"

This reverts commit cc2d418a8e1835cc8d48256adf9b0382ee4e4faa.
Revert "Revert "Added edit script/query UI""

This reverts commit 781d62d0d5d16c7f74d740a17faef0503bd8d291.