added "forceFlash" flag