repackage resources