AMENDED & RESTATED REPAYMENT AGREEMENT