S3 sample script.