[opwig] implemented wrapper bootstrap generation in wrapper generation