Adds optList parameter to CommandSearch constructor