add minify support