Add `write_config` installer directive