EXECUTION VERSION AMENDED AND RESTATED LOAN AGREEMENT dated as of June 7, 2006