Shapefiles, modified script