get-rightmost-script