Get the paths correct in root catalog file