make ndm actually work.

Fixed up ndm arguments so that services work when generated.