Not unusual in the outback for a helicopter to fly door off with a rifleman "dropping" bullets to cull vermin. An operator controlled variation of this could be a wand attached via a hose to the insect storage compartment. I guess you are talking about releasing hundreds of thousands if not millions of flies during the flight. As mentioned before, being able to keep your system as independent as possible from the aircraft systems, and only dealing in things that already have well established precedents (doors off, hazardous goods) should allow your program to reach its implementation stage much quicker and cheaper. Good luck.