downloading photos added, special character handling simplified