amended and restated LOAN AND SECURITY AGREEMENT