change to all *jpg and PDFs hosted on amazon s3