             assert _.isNumber mode = nconf.get "env:mode"
             msg = "Environment mkdir at %s with 0%s mode".yellow
             logger.info msg, directory.underline, mode.toString 8
-            mkdirSyncRecursive directory, mode
+            mkdirSyncRecursive.call this, directory, mode
 
     # This method is responsible for shutting down the scope object.
     # This means stripping down all the necessary routines and other

    incorporate: (kernel) ->
        nconf.defaults(@defaults or @constructor.DEFAULTS or {})
        nconf.overrides(@overrides or @constructor.OVERRIDES or {})
        fpath = "#{nconf.get "layout:config"}/#{@tag}.json"
        logger.info "Incorporating up the #{@tag.bold} scope".cyan
        logger.info "Assuming the #{fpath.underline} config".cyan
        exists = fs.existsSync fpath; nconf.file fpath if exists

        assert _.isArray preserve = nconf.get "env:preserve"
        for directory in nconf.get("env:dirs") or new Array
            continue if directory in (preserve or Array())
            msg = "Wiping out the env directory at %s"
            logger.info msg.yellow, directory.underline
            rmdirSyncRecursive.call this, directory, yes

    # Construct a new scope, using the supplied tag (a short name)
    # and a synopsis (short description of the scope) parameters.
