added downloadJpgs.sh which downloads jpgs only for a given directory