Removing unnecessary writing of s3 bucket env var