Writes globals. BOO-YAHH