Script to delete unused JPEG files