minify yemd script