added export-diff op and shp wrapper