Adjusting urls for s3