add paths to defaults for root_dir
collapse a bit