Decorating the body tag could work too. It wouldn't work if we need to know the env before the body tag has been rendered though?