The Gadget Flow