Add a top-level var for the main frame