Added S3 configuration for image storing