fix url after changing routes (hopefully the last one)
fix remote urls to be relative so things work on a wider range of server configurations