added s3 script