         method   : "app.publish"
         withArgs : {appPath}
 
-      @kiteController.run options, (err, res)=>
+      @vmController.run options, (err, res)=>
         if err
           warn err
           notification.destroy()

    super

    @appManager     = KD.getSingleton "appManager"
    @kiteController = KD.getSingleton "kiteController"
    mainController  = KD.getSingleton "mainController"
    @manifests      = KodingAppsController.manifests
    @publishedApps  = {}

                      appPath     : @getAppPath app.manifest
                      version     : version

                  @vmController.run options, (err, res)=>
                    if err then warn err
                    else
                      app.install (err)=>
