changing urls to relative