CUSTODY AGREEMENT by and between INVESTED PORTFOLIOS on behalf of EACH OF THE FUNDS LISTED ON SCHEDULE I HERETO and THE BANK OF NEW YORK MELLON