fully functioning optimihze files for production