s3 resource is now working

This reverts commit 5115ab7af8265fcdfdfebe0776e21ef7257f9132.