Exhibit 10.5 AMENDED AND RESTATED LOAN AGREEMENT Dated as of June 26, 2003