update examples to open connections to scribe and send messages