added support for drag-and-drop shapefiles