This pull request moves the scan parameter evaluation to the creation of the config item. The config item is set to True or False based on the parameter, and then the parameter is used in the subsequent code instead of evaluating the parameter there.
This pull request moves the scan parameter evaluation to the creation of the config item. The config item is set to True or False based on the parameter, and then the parameter is used in the subsequent code instead of evaluating the parameter there.