added Amazon S3 storage for production mode