Fixed url's breaking when on server