SECURED LOAN AGREEMENT (Amended 6-22-17)