     atom.workspace.open(uri, split: 'right', searchAllPanes: true).then (consoleRuntimeView) =>
       if consoleRuntimeView instanceof ConsoleRuntimeView
         previousActivePane.activate()
-        @runBlank()
+        @runBlank(consoleRuntimeView)

    @subscriptions = new CompositeDisposable
    @subscriptions.add atom.commands.add 'atom-workspace', 'magic-console:toggle':
      => @toggle()
    @view = null
    @blankRuntime = null
    atom.workspace.addOpener (uriToOpen) =>
      try

    throw new Error("Packaged not installed: '#{packageName}'") unless atomPackage?
    atomPackage.activateNow()

    @view.stop()
    @activatePackage('script')
    if @blankRuntime.observers
      @blankRuntime.observers.forEach (observer) -> observer.destroy()
      @blankRuntime.observers = []
  runBlank: (view) ->
    @blankRuntime.addObserver(new ConsoleRuntimeObserver(view))
    @blankRuntime.execute()

  runDefault: ->
