   postrenders = {}
   
   app = context.app = express.createServer()
-  io = if disable_io then null else context.io = socketio.listen(app)
+  io = if options.disable_io then null else context.io = socketio.listen(app)
 
   # Reference to the zappa client, the value will be set later.
   client = null

    fs.readFileSync p, 'utf8'

# Takes in a function and builds express/socket.io apps based on the rules contained in it.
zappa.app = (func,disable_io,require_css) ->
  context = {id: uuid(), zappa, express}
  
  context.root = path.dirname(module.parent.filename)

          switch k
            when 'host' then host = v
            when 'port' then port = v
            when 'css' then options.require_css = v
            when 'disable_io' then options.disable_io = v

  zapp = zappa.app(root_function,options)
  app = zapp.app

  if host then app.listen port, host
