optimize files for production