tweaked uglify steps