Write settings (8/18)

Write settings