adding a script editor in the map editor