FOUTH AMENDMENT TO MASTER LOAN AGREEMENT