make_analyses clean up