fix packaging script