Fix bug with loading config files, finally