Modo privs support

1rst commit is a fix from prevoius PR.
2nd resolves issue #59