         separator         : yes
 
       customView2         : colorSelection
+
+    if running
+      items['Run build script'].children =
+        'In Terminal'   :
+          callback      : @lazyBound "runBuildScript", inTerminal = yes
+        'In Background' :
+          callback      : @lazyBound "runBuildScript", inTerminal = no
 
     return items
 

      showInformation provisioner, modal


  runBuildScript: ->

    machine = @getData()



    @reviveProvisioner (err, provisioner)=>

      if err
        return new KDNotificationView
          title : "Failed to fetch build script."
      else if not provisioner
        return new KDNotificationView
          title : "Provision script is not set."

      {content: {script}} = provisioner
      script = Encoder.htmlDecode script
