adding rebase script