Updated get_path()