Updated for popup ads