added root option to simwriter