Added fix for existing ports needing --modify vs --add. Removed extra modify in seltype function. Added debug messages for agent consoles.