Rolled tool for Ananya's workflow into rd_analysis