updated gflags stuff