fiddling around trying to get s3 working