Set globals