Fixed issue with config not being loaded