Added more functionality to dmpd-select.sh