remove unneccessary flags from minify script