Add console logging for iframe path