 		deferred = Q.defer()
 
 		data =
-			appName: appName
+			appName: APP_NAME
 			scripts: files.scripts
 			styles: files.styles
 
 		gulp
-			.src 'index.html', cwd: tempDirectory
+			.src 'index.html', cwd: TEMP_DIRECTORY
 			.pipe template data
-			.pipe gulp.dest tempDirectory
+			.pipe gulp.dest TEMP_DIRECTORY
 			.on 'end', ->
 				deferred.resolve()
 

			p = unixifyPath(path.join('/', path.relative(file.cwd, file.path)))

			return if ext is '.js'
				js.push p

			return if ext is '.css'
				css.push p

		endStream = ->
			payload = {scripts: js, styles: css}
			@emit 'data', payload
			@emit 'end', payload


			p.replace regex, '/'

	includify = ->
		scripts = []
		styles = []

		bufferContents = (file) ->
			return if file.isNull()
