Fixed very basic config loader