add the support the get local data and make the workflow more like we did in smr