added setting for S3 & gem fog