rebase option for upload script