Hack to get the urls working on the server.