Seems like a better order so we insert the CSS before we open if doing both.