added configuration support for minification