updated packaging script.