changed S3_BUCKET_NAME to AWS_BUCKET_NAME