added finding wms and download to metadata.py