Added scripting to the editor