whoops, adding back path.exists() check