All the logic needed to do the CA2 Rebase added
Script renamed