graphical output script and overlapping polygons