       app: (name) => @app name
       include: (path) => @include path
       require: require
+      global: global
+      process: process
+      module: module
 
     @ensure_app 'default' unless @current_app?
 

  read: (file) -> fs.readFileSync file, 'utf8'
  
  run_file: (file, options) ->
    code = if file.match /\.coffee$/ then @read_and_compile file else @read file
    @run code, options
  

      @locals[k] = v

    for k, v of @app.helpers
      do (k, v) ->
        @locals[k] = ->
          v(@context, @, arguments)

    @locals.defs = @app.defs
    @locals.postrenders = @app.postrenders
