Added option to replace some URLs