Fix configuration file loading