added amazon s3 for images