minify for deployment on device