used an outdated s3_website function