refactor
changed bucket policy following aws documentation