repackage dir