write config instead of direct assignment from the command-line