moving the S3 vars to a env config