     #       middlewares.push middleware
     #   modules[i].exports = middlewares
     names = modules.map (m) -> m.name
-  modules = @load_modules_install @names, options.command
+  else
+    names = @names
+  modules = @load_modules_install names, options.command
   if options.modules.length
     names = Object.keys modules
     names = multimatch names, options.modules

  load_modules = (names, parent) =>
    for name in names
      continue if modules[name]
      # console.log parent
      modules[name] = @load_module name, parent
      for middleware in modules[name]
        load_modules middleware.modules, middleware.module

          break
    # Commented, filter might be good but we should modify the module itself but
    # a copy of it
    # Filter middlewares with the command
    # for module, i in modules
    #   middlewares = []
    #   for middleware in module.exports
