Exhibit 4.(a)4 Amended and Restated Secured Note Purchase Agreement. dated November 11, 2004