+write config and time