Added missing flags for minify and mangle
Adding support for masking