             name = path.basename src, '.coffee'
 
             # new products
-            if config.type == 'product'
+            if config.type in ['product', 'plugin']
               asset = new wrap.Coffee {
                 src: src
                 preprocess: (source) ->

          ref = firebase.child "users/#{user}/developer/listener"
          config.modified =
            time: Date.now()
            file: path.basename file
            file_ext: path.extname(file).replace '.', ''
            file_name: path.basename file, path.extname(file)
          ref.set config

              asset = new wrap.Stylus {
                src: src
                preprocess: (source) ->
                  id = config.id
                  version = config.version.replace /\./g, '-'
                  name = path.basename src, '.styl'

                  if config.type in ['product', 'plugin']
                    p = ".#{id}.v#{version} #{name}"
                    subs = [
                      ['.exports.collection',  "#{p}.collection"]
                      ['.exports.object',      "#{p}.object"]
                      ['.exports.page',        "#{p}.page"]
                      ['.exports.presenter',   "#{p}.presenter"]
                      ['.exports.region',      "#{p}.region"]
                    ]
                    for sub in subs
                      source = source.replace sub[0], sub[1]
      
                  # ex: html.exports -> html.artist-hq.v3-0-0
                  source = source.replace /.exports/g, ".#{id}.v#{version}"

                  # add variables code
                  return variables_code + source
