      process.exit(1)
     # setup packages from options/slug
     @packages = (@createPackage(name, config) for name, config of @options.packages)
+    # allow overrides
+    @options.server.port = argv.port if argv.port
+    @options.server.host or= ""
 
   server: ->
     # create app

        else
          console.log "ERROR: The folder #{value} does not exist."
          process.exit(1)
      else
        # setup proxy
        console.log "Proxy requests from #{url} to #{value.host}" if argv.v
        app.use(url, @createRoutingProxy(value)) if value.host

    # start server
    http.createServer(app).listen(@options.server.port, @options.server.host)


  options:
    server:
      port: 9294
      host: 'localhost'

  constructor: (options = {}) ->
    @options[key] = value for key, value of options
