Fix wgt format testing issue by updating pack.sh file