[Tom,Remo] edits in migrate shell scripts