saving the rebill script from #77140 in case we need something similar in the future