Dan,
In additioon to Steve M's suggestion you might also ant to check out this site:
GCBUMPIRE. There are a couple of good articles there , one by Steve M himself. I think they're entitled DP/DEFO, but if you change DEFO to FLEX, everything is the same.
SamC