Fixed deal and loading the configuration files