added ability to set root for static assets referenced in payloads