AMENDMENT NO. 5 TO REVOLVING CREDIT, TERM LOAN AND SECURITY AGREEMENT