CREDIT AGREEMENT dated as of July 21, 2017,