AMENDED AND RESTATED LOAN AGREEMENT dated as of November 21, 2001