Minor changes to move.rb