add rudimentary s3 support