Handling different application configs per environment

Maybe extracting to a private method with name load_global_config