     if script = KD.getAppScript name
       callback null, script
     else
-      @fetchCompiledApp manifest, (err, script)=>
+      @fetchCompiledAppSource manifest, (err, script)=>
         if err
           @compileApp name, (err)->
             callback err, script

      else
        justFetchApps()

  fetchCompiledApp:(manifest, callback)->

    indexJs = FSHelper.createFileFromPath "#{@getAppPath manifest}/index.js"
    indexJs.fetchContents (err, response)=> callback null, response

      , (err)=>
        if not err
          loader.notificationSetTitle "Fetching compiled app..."
          @fetchCompiledAppSource app, (err, res)=>
            if not err
              @defineApp name, res
              loader.notificationSetTitle "App compiled successfully"
