TERM LOAN AND SECURITY AGREEMENT among