shipMovement script functional