The in-situ synthesis procedure involved the addition of the chemical reagents directly in the CP and TOCNF dispersions, separately. More specifically, Zn(NO3)2 (6 g) was added to the CP dispersion (0.3 wt.%) with stirring for 30 min before the addition of TEA (20 mL, 99.5%). The dispersions were stirred for one hour until a white precipitate was observed. Then, a solution of Hmim (60 mL, 0.84 M) was added, and the mixture was stirred for one hour. The same procedure was followed for the TOCNF dispersion (0.3 wt.%). Finally, the dispersions of CP/ZIF-8 and TOCNF/ZIF-8 were mixed in ratios of 1:0.5, 1:1, 1:2, and 1:4 using a total volume of 500 mL.