further refinements to app config.
added an app setting for output file path.