EXHIBIT 10.50 AMENDED AND RESTATED LOAN AGREEMENT, dated as of December 24, 1997,