AMENDED AND RESTATED MASTER SUPPLY AND OFFTAKE AGREEMENT