More changes on s3 upload for resource images

@skpcharles  remove sop and use logger