Cleaned up loadConfig a bit