Fixed packaging script