 
 	renamer = (file) ->
 		originalFile = file.dirname + '/' + file.basename + file.extname
+		
+		gulp
+			.src originalFile, cwd: TEMP_DIRECTORY
+			.pipe clean()
+
+
 		hash = busters[originalFile]
 		file.basename += '.' + hash
 		
 		file
 
 	gulp
-		.src '**/*.{css,js}', cwd: "#{TEMP_DIRECTORY}_prod/"
+		.src '**/*.{css,js}', cwd: TEMP_DIRECTORY
 		.pipe rename renamer
-		.pipe gulp.dest "#{TEMP_DIRECTORY}_prod/"+		.pipe gulp.dest TEMP_DIRECTORY
	buster.config options

	gulp
		.src '**/*.{css,js}', cwd: "#{TEMP_DIRECTORY}_prod"
		.pipe buster()
		.pipe gulp.dest TEMP_DIRECTORY


	gulp
		.src 'index.html', cwd: TEMP_DIRECTORY
		.pipe minifyHtml options
		.pipe gulp.dest TEMP_DIRECTORY

gulp.task 'minify:views', ->
	options =
