beginning of script to generate polygons