Moving cookie work to something that may exist outside, or closer to the edge with UI