adding support to s3 deploy.