     # Throw error if exists and not empty
     if fs.existsSync(resolved)
       if fs.readdirSync(resolved).length
-        console.error "Confict: #{resolved} exists and is not empty"
+        log.error "enfield", "Confict: #{resolved} exists and is not empty"
         process.exit -1
       else
         # Remove it so we can bulk copy


        conf.get options, (err, config) ->
          if err
            console.error "Could not get configuration: #{err.message}"
            process.exit -1

          printConfiguration config

    # TODO: Copy site_template over
    fs.copy path.join(__dirname, '../site_template'), resolved, (err) ->
      if err
        log.error "enfield", "Could not create new site: #{err.message}"
      else
        log.info "enfield", "New site installed in #{resolved}"

  build: (config, callback = ->) ->
    generate config, callback
