Changes to make follow members activities to display in the snippet

Changes to make follow members activities to display in the snippet. 
Ability to add a port to the endpoint's configuration
add spaces around the `else`.