disable roots-relative URLs and use custom code