Also use for the -b/-e switches:
did $iif($did(ID),-e,-b) $dname id
Sorry for the doubble post.
Otherwhize I suppose this script is good and easy to use for newbies :)
4/10