Minify app and fix filename issue