Fixed problems with map_command.py using code from = newer version (range_finder_with_loc.py)