Add support to set GS config from environment.