EX-10.4 LOAN AGREEMENT