Do we want todo this when we are not in an iframe?