Put map ID in globals