diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/META-INF/MANIFEST.MF b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/META-INF/MANIFEST.MF
index a0bfd98b..664f810e 100644
--- a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/META-INF/MANIFEST.MF
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/META-INF/MANIFEST.MF
@@ -16,7 +16,12 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ease,
org.eclipse.tracecompass.tmf.core,
org.eclipse.tracecompass.tmf.analysis.xml.ui,
- org.eclipse.tracecompass.tmf.analysis.xml.core
+ org.eclipse.tracecompass.tmf.analysis.xml.core,
+ org.eclipse.tracecompass.tmf.ui,
+ org.eclipse.debug.ui,
+ org.eclipse.ui.views,
+ org.eclipse.ease.ui,
+ org.eclipse.core.expressions
Export-Package: org.eclipse.tracecompass.incubator.internal.scripting.ui;x-internal:=true,
org.eclipse.tracecompass.incubator.internal.scripting.ui.views;x-internal:=true
Automatic-Module-Name: org.eclipse.tracecompass.incubator.scripting.ui
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/build.properties b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/build.properties
index 5ae48ac2..1b7f6b6b 100644
--- a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/build.properties
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/build.properties
@@ -13,4 +13,6 @@ bin.includes = META-INF/,\
.,\
about.html,\
plugin.properties,\
- plugin.xml
+ plugin.xml,\
+ icons/,\
+ build.properties
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc.png b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc.png
new file mode 100644
index 00000000..17bb448f
Binary files /dev/null and b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc.png differ
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc@2x.png b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc@2x.png
new file mode 100644
index 00000000..8c168ee6
Binary files /dev/null and b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/debug_exc@2x.png differ
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc.png b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc.png
new file mode 100644
index 00000000..c06ce07b
Binary files /dev/null and b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc.png differ
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc@2x.png b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc@2x.png
new file mode 100644
index 00000000..d1a4b910
Binary files /dev/null and b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/icons/etool16/run_exc@2x.png differ
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.properties b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.properties
index d1d0ee7b..402db66d 100644
--- a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.properties
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.properties
@@ -10,3 +10,10 @@
Bundle-Vendor = Eclipse Trace Compass Incubator
Bundle-Name = Trace Compass Scripting UI Plug-in (Incubator)
+command.run_as_ease_script = Run As...
+command.run_as_ease_script.description = Run as ease script
+command.launch_as_ease_script.type = Launch Type
+command.launch_as_ease_script.mode = Launch Mode
+
+command.debug_as_ease_script = Debug As...
+command.debug_as_ease_script.description = Debug as ease script
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.xml b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.xml
index 24bee6ae..7429e409 100644
--- a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.xml
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/plugin.xml
@@ -16,4 +16,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/DebugAsElementTypeContributionItem.java b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/DebugAsElementTypeContributionItem.java
new file mode 100644
index 00000000..1632e91e
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/DebugAsElementTypeContributionItem.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2019 Ericsson
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+package org.eclipse.tracecompass.incubator.scripting.ui.project.handlers;
+
+import java.util.HashSet;
+import java.util.Objects;
+import java.util.Set;
+
+import org.eclipse.debug.core.ILaunchManager;
+import org.eclipse.tracecompass.tmf.core.util.Pair;
+
+/**
+ * ContributionItem for the Debug As -> .
+ *
+ * @author Bernd Hufmann
+ *
+ */
+public class DebugAsElementTypeContributionItem extends LaunchElementTypeContributionItem {
+
+ private static final String EASE_LAUNCH_SHORTCUT = "org.eclipse.ease.launchShortcut"; //$NON-NLS-1$
+
+ @Override
+ protected String getLaunchMode() {
+ return Objects.requireNonNull(ILaunchManager.DEBUG_MODE);
+ }
+
+ @Override
+ protected Set> getParam() {
+ Set> selectedTraceTypes = new HashSet<>();
+ selectedTraceTypes.add(new Pair<>(EASE_LAUNCH_SHORTCUT, Objects.requireNonNull(Messages.Scripting_RunAsScriptName)));
+ return selectedTraceTypes;
+ }
+}
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/LaunchAsEaseScriptHandler.java b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/LaunchAsEaseScriptHandler.java
new file mode 100644
index 00000000..f40b4b38
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.ui/src/org/eclipse/tracecompass/incubator/scripting/ui/project/handlers/LaunchAsEaseScriptHandler.java
@@ -0,0 +1,153 @@
+/*******************************************************************************
+ * Copyright (c) 2019 Ericsson, École Polytechnique de Montréal
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+
+package org.eclipse.tracecompass.incubator.scripting.ui.project.handlers;
+
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.debug.core.ILaunchManager;
+import org.eclipse.debug.internal.ui.DebugUIPlugin;
+import org.eclipse.debug.internal.ui.actions.OpenDebugConfigurations;
+import org.eclipse.debug.internal.ui.actions.OpenRunConfigurations;
+import org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension;
+import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.TreeSelection;
+import org.eclipse.tracecompass.tmf.ui.project.model.TmfCommonProjectElement;
+import org.eclipse.tracecompass.tmf.ui.project.model.TmfTraceElement;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.PlatformUI;
+
+/**
+ * Command Handler to run scripts.
+ *
+ * @author Bernd Hufmann
+ */
+@SuppressWarnings({ "restriction", "null" })
+public class LaunchAsEaseScriptHandler extends AbstractHandler {
+
+ // ------------------------------------------------------------------------
+ // Constants
+ // ------------------------------------------------------------------------
+
+ private static final String TYPE_PARAMETER = "org.eclipse.tracecompass.incubator.scripting.ui.commandparameter.launch_as_ease_script.type"; //$NON-NLS-1$
+ private static final String MODE_PARAMETER = "org.eclipse.tracecompass.incubator.scripting.ui.commandparameter.launch_as_ease_script.mode"; //$NON-NLS-1$
+
+ // ------------------------------------------------------------------------
+ // Attributes
+ // ------------------------------------------------------------------------
+
+ @Nullable
+ private TreeSelection fSelection = null;
+
+ // ------------------------------------------------------------------------
+ // Validation
+ // ------------------------------------------------------------------------
+
+ @Override
+ public boolean isEnabled() {
+
+ // Check if we are closing down
+ IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
+ if (window == null) {
+ return false;
+ }
+
+ // Get the selection
+ IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ IWorkbenchPart part = page.getActivePart();
+ if (part == null) {
+ return false;
+ }
+ ISelectionProvider selectionProvider = part.getSite().getSelectionProvider();
+ if (selectionProvider == null) {
+ return false;
+ }
+ ISelection selection = selectionProvider.getSelection();
+
+ // Make sure selection contains only traces
+ fSelection = null;
+ if (selection instanceof TreeSelection) {
+ fSelection = (TreeSelection) selection;
+ Iterator