CREDIT AGREEMENT dated as of August 2, 2017 between