Exhibit 10.48 AMENDED AND RESTATED TERM LOAN AGREEMENT dated as of June 30, 2004