put globals in structure, write/update to ee