add allow root option

quick hack for #8