added flag vars to config