LOAN MODIFICATION AND EXTENSION AGREEMENT