I think that I may have solved this problem. I replaced ‘current’ in the mobileStart andmobileMove subroutines with the name of the tag ($last_tag_global) attached to the items I wanted to move
and all works as I want (so far!).
(Also, I think that the subroutines I included in my lastdid come from the original 'replier').