This one is needed since $path2 doesn't always exist