add code for version 5 configuration files