Changes to use flashlight with flags for get-mode stats reporting