added relative path resolution