added access to amazon s3 for hosting images