change USE_SET_METADATA to SKIP_SET_METADATA