For #125, Syncing environments and globals