function makeUrls is ideal now :)