Change some URLs to use substitute.