add option to set agent-type to control propogation Signed-off-by: Stephen Howell <howels@allthatwemight.be>