Amended and Restated REVOLVING CREDIT AND TERM LOAN AGREEMENT