Updated packaging script