I got some permethrin this year to see if it helps keep ticks off. I don't know yet if it will work for ticks or gnats.

For black flies they alsways go for the top of your head. So, an old hat with a piece of fly paper on top. I call it my "Flies be screwed hat." It also makes for a great fashion statement and conversation topic with dead and dying flies on your head.