   fs.readFileSync path, encoding: 'ascii'
 
 
-editSync = (path, pairs) ->
+edit = (path, pairs) ->
   fs.writeFileSync path, pairs.reduce (contents, [rx, replacement]) ->
     contents.replace rx, replacement
   , readFile path

    uuid2.splice 7, 1, ((parseInt(uuid1[7], 16) + 1) % 16).toString(16).toUpperCase()
    uuid2 = uuid2.join ''

    editSync \
      "#{projName}.xcodeproj/project.pbxproj",
      [
        [

    log 'Updating Leiningen project'
    process.chdir projNameHyph
    exec "cp #{resources}project.clj project.clj"
    edit 'project.clj', [[projNameHyphRx, projNameHyph]]
    corePath = "src/#{projNameUs}/core.clj"
    fs.unlinkSync corePath
    corePath += 's'
    exec "cp #{resources}core.cljs #{corePath}"
    edit corePath, [[projNameHyphRx, projNameHyph], [projNameRx, projName]]
    exec "cp #{resources}ambly.sh start.sh"
    edit 'start.sh', [[projNameUnderRx, projNameUs]]

    log 'Compiling ClojureScript'
    exec 'lein cljsbuild once dev'
