Second Amended and Restated Agreement