Correctly load yaml config file