Modified to read img's from aws/s3