LOAN AGREEMENT Dated as of August 4, 2004