grab environments from the config if possible