   if typeof options is 'function'
     callback = options
     options = {}
+  # Normalize Options
   options.modules = [options.modules] if typeof options.modules is 'string'
   options.modules = [] unless Array.isArray options.modules
   # Filter with the modules options
-  if options.command and options.command isnt 'install'
+  if options.command and options.command isnt @default_command
     # All the modules declaring the command
     modules = []
     for name, filename of @cache

    middleware.required or middleware.only
  middlewares = only_middlewares if only_middlewares.length > required_middlewares_count
  callback null, middlewares

Tree::load_modules = (names) ->
  modules = {}

Tree = (modules) ->
  modules = [modules] unless Array.isArray modules
  modules = flatten modules
  @default_command = 'install'
  @names = modules
  @modules = @load_modules modules
  @
