changed minify to optimize