CREDIT AGREEMENT AND PROMISSORY NOTE