added a script to fixup the packages/ dir