function to get dir of the files to edit on the website

save `min_segment_size` before `default_config`