renamed option 'folder' to 'root'