set resultUrl to empty string if s3 not enabled