fixes to writing out configurations as command line options.