Here is the code I am using:
mpeg2source("C:\UNTITLED001\VIDEO_TS\01take2cowboybebop.d2v",cpu=6)
Telecide(order=1,post=2,blend=true,vthresh=50,back=1)
Decimate(cycle=5,mode=2)
mftoon(strength=128)
FastLineDarken
SDDeRainbow()
deen("a3d",3,10,12)
tweak(cont=1.2,sat=1.5,bright=2,hue=0)
WarpSharp(depth=132)
Crop(10,8,-10,-0)
LanczosResize(640,480)
Here is where the macroblocking is really noticeable:


also there are some rainbows still showing up even though Ive added a filter for it.

Any help / advice would be really grateful, also I would like to know if I'm over doing it on the filters. I plan on turning all my dvd footage to a lossless codec after I get my script worked out.