optimize configuration file for excel