Exhibit 10.5(B) THIRD AMENDED AND RESTATED LOAN AND SECURITY AGREEMENT DATED as of April 7, 1997