support load flags from the environment variable