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 a space after the `if` and after the closing parentheses.