Hey! Guess what - your program already does what I just asked. I just inserted this at the beginning: "http://marsrovers.jpl.nasa.gov/gallery/all/2/p/001" and then inputted my jpeg number. Even though I indicated sol 1 in that string, using the example with "001" just as indicated, it came back with information teling me the near correct sol - I think it said 1303 instead of 1304. So, it already works the way I had asked!