Make the --root option work