This function calls analysis.resetInParams() and then adds a new parameter which was already there. The purpose instead should just be to set the value of an existing paramter. This should be fixed. The side effect is that if a user doesn't provide all of the parameters on the command-line then default values won't work properly.