packaging script update