TERM LOAN AGREEMENT dated as of August 18, 2016 among