     outfile    = opts.jsOutfile
     sourcemaps = opts.sourcemapsOutfile
 
-    rewriteMap = appNames.reduce (acc, x) ->
-      acc[x] = './' + x + '/lib/'
+    rewriteMap = appNames.reduce (acc, appName) ->
+      acc[appName] = "./#{appName}/lib/"
       return acc
     , {}
 
-    modules = manifests.map (x) =>
-      name = x.name
+    modules = manifests.map (manifest) =>
+      name = manifest.name
       if name is 'ide'
-        name = 'IDE'
+        name = manifest.name.toUpperCase()
       else
         name = name.charAt(0).toUpperCase() + name.slice(1)
 
       return {
-        identifier : x.name
+        identifier : manifest.name
         name       : name
-        routes     : x.routes
-        shortcuts  : x.shortcuts
-        style      : opts.baseurl + '/' + x.name + '.css'
+        routes     : manifest.routes
+        shortcuts  : manifest.shortcuts
+        style      : opts.baseurl + '/' + manifest.name + '.css'
       }
 
     transforms = [ coffeeify, pistachioify ]

          end_()


    bundle = (x) ->
      start = Date.now()

      x.sprites.forEach (basename) ->
        dir = path.join x.basedir, basename
        smith x, dir

        if opts.watchSprites
          w = chokidar.watch dir, persistent: yes

    if opts.watchJs
      b = bant.watch opts_
      b.on 'update', (ids) ->
        ids.forEach (id) ->
          console.log 'updated ' + id
        bundle()
    else
      b = bant opts_
