Added debug for resolve_paths