updated moveImage script