Small adjustments
Ignore non-jpg files fixed #1