AMENDED AND RESTATED LOAN AGREEMENT dated as of April 24, 2002