make local paths relative.