EXHIBIT 10.1 THIRD AMENDMENT TO CREDIT AGREEMENT dated as of August 12, 2004