diff --git a/urbansim/utils/misc.py b/urbansim/utils/misc.py
index <HASH>..<HASH> 100644
--- a/urbansim/utils/misc.py
+++ b/urbansim/utils/misc.py
@@ -79,6 +79,14 @@ def reports_dir():
     return _mkifnotexists("web/reports")
 
 
+def edits_dir():
+    """
+    Return the directory for the editable files (used by the
+    website).
+    """
+    return _mkifnotexists("")
+
+
 def config(fname):
     """
     Return the config path for the file with the given filename.
diff --git a/urbansim/utils/yamlio.py b/urbansim/utils/yamlio.py
index <HASH>..<HASH> 100644
--- a/urbansim/utils/yamlio.py
+++ b/urbansim/utils/yamlio.py
@@ -79,8 +79,8 @@ def ordered_yaml(cfg):
              'alts_fit_filters', 'alts_predict_filters',
              'interaction_predict_filters',
              'choice_column', 'sample_size', 'estimation_sample_size',
-             'model_expression', 'ytransform', 'default_config', 'models',
-             'coefficients', 'fitted']
+             'model_expression', 'ytransform', 'min_segment_size',
+             'default_config', 'models', 'coefficients', 'fitted']
 
     s = []
     for key in order:
function to get dir of the files to edit on the website