   # #
 
   fetchApps:(callback)->
-    
+
     if Object.keys(@constructor.manifests).length isnt 0
       callback null, @constructor.manifests
     else

        if block.post
          asyncStack.push (cb)=> @addScript app, block.post, cb

      async.parallel asyncStack, (error, result)=>
        
        log "concatenating the app"
        
        _final = "(function() {\n\n/* KDAPP STARTS */" 
        result.forEach (output)=>
          _final += "\n\n/* BLOCK STARTS */\n\n"
          _final += "#{output}"
          _final += "\n\n/* BLOCK ENDS */\n\n"
        _final += "/* KDAPP ENDS */\n\n}).call();"
        
        
        _final = @defineApp app.name, _final
        @saveCompiledApp app, _final, =>
          callback?()

      publishPath = FSHelper.escapeFilePath "/opt/Apps/#{nickname}/#{manifest.name}/#{manifest.version}"
      userAppPath = if /~\//.test manifest.path
        manifest.path.replace("~/", "/Users/#{nickname}/")
      else
        "#{manifest.path}/"
      options     =
        toDo          : "publishApp"
