                 source = fs.readFileSync(module.path)
                 output = @encode(source, module)
                 if @bundle
-                    @_bundle_content.push(output)
+                    _contents.push(output)
                 @_write_file(destination, output)
                 module.hash = @calc_hash(output)
                 module.size = output.length

                module.size = module.source_length
                if @bundle
                    source = fs.readFileSync(module.path)
                    @_bundle_content.push(source)
        return 

    _create_manifest: ->

        @_write_file(@hosting_map, @_stringify_json(@_create_hosting_map())) if @hosting_map?
        @_write_file(@index, @_create_index()) if @index?
        @_write_file(@appcache, @_create_appcache()) if @appcache?
        @_write_file(@bundle, @_bundle_content) if @bundle?

        @_print_stats() if @print_stats
        @cache.flush()
