AMENDED AND RESTATED GOING PUBLIC AGREEMENT