Added relative path computation