Fixes to make RAI script work again (and to download summaries too)