   'width' : 'the height of the user interface'
   'height' : 'the width of the user interface'
   
-transform_file = (src, project, target) ->
+transform_file = (src, project, target, next) ->
 
   # copy the file.
   proc = child_process.spawn 'cp', [src, target], {'stdio' : 'ignore'}
-  await proc.on 'exit', defer code
+  await proc.on 'exit', defer()
 
   # replace each key with each replacement using sed
   args = ['-i', '']

  throw err if err?
  target = (path.join process.cwd(), project.project)

  transform_dir fullpath, project, target
    args = args.concat ['-e', "s/#{key}/#{project[rep]}/g"]
  args = args.concat [target]

  proc = child_process.spawn 'sed', args, {'stdio' : 'ignore'}
  proc.on 'exit', next


transform_dir = (dir, project, target, next) ->

  # create the destination
  await fs.mkdir target, defer err
