fix the packaging script