     callback result
 
 exports.new = (rootPath, buildPath, callback = (->)) ->
-  templatePath = path.join __dirname, '..', 'template', 'base'
+  templatePath = path.join __dirname, 'template', 'base'
   path.exists rootPath, (exists) ->
     if exists
       return helpers.logError "[Brunch]: can\'t create project: 

         helpers.recursiveCopy templatePath, rootPath, ->
           helpers.log '[Brunch]: created brunch directory layout'
           helpers.log '[Brunch]: installing npm packages...'
           (require 'child_process').exec "npm install #{rootPath}", (error, stderr, stdout) ->
             if error?
               helpers.logError "[Brunch]: error: #{stderr}"
               return callback()
             helpers.log '[Brunch]: installed package brunch-extensions'
             callback()

exports.build = (config, callback = (->)) ->

{exec} = require 'child_process'
fs = require 'fs'
mkdirp = require 'mkdirp'
path = require 'path'
filewriter = require './filewriter'
helpers = require './helpers'
testrunner = require './testrunner'

# Recompiles all files in current working directory.
# 
