Updated config for middleware to match new config file structur