move to using config for required and optional arguments.