manually restoring packages