a try to get env variables from daemon_flags