LOAN AGREEMENT Dated as of August 17, 2004