Replace the way we calculate the path.