Exhibit 10.2 AMENDMENT, RESTATEMENT, GENERAL PROVISIONS AND INTERCREDITOR AGREEMENT dated as of August 15, 2001