If you want to stay away from chemicals, this is the way to do it.
Fresh sprigs of Rosemary (about 4-6" long), spread around the perimeter of the run, hanging in the coop and right around the coop helps eliminate flies. We have a Rosemary bush, and whenever we trim it (just like other hedges)...