add gflag conf for core