Add upload shapefile function