removed currentDir options and dirs, added root