Changing config loading to be less stupid.