PTFM-8772: Add dxpy and dx run support for stage folders and rerunning stages