rewrite how iframe urls are swapped for #109