Script to join shapefiles together