enhanced packaging script to do almost everything for ctan