added script to generate csv file similar to the map table
use id in metadata and shapefile names
updated to work with latest files
updated csv output