Adapt the script editor widget with the new running scripts implementation