Change the method to load resources from config.yaml