The stones from the liver, during the flush, pass down the common bile duct and into the duodenum which is the first part of the intestines which joins to the stomach.
When the gallbladder expands after the flush the stones can move up the cystic duct into the gallbladder and will be released at the next contraction.