change s3 paths to callable