Another attempt to get the path