Go check out a Dmax forum for better info.
You basically have 3 options.
1. Leave it stock
2. Add an emissions compatible tuner or program. Won't help much w mileage but will give more power at the expense of voiding warranty while making the scr work overtime to get rid of additional soot from the additional fuel.
3. Delete the emissions system for better mileage and clean running truck at the expense of both warranty and in ability to send he truck thru emissions testing without returning it to stock. Both tune and hard parts.