Main config now overrides default values for flags.

Order of preference for settings is now:
1. Attributes assigned on workflow objects.
2. Flag values given at the command line.
3. Settings in the main config.
4. Default flag values in the code.