Fixed broken URLs with the relative path calculation.