Add conditional to avoid errors if nsd exists