Changed configuration file generation and loading rules