Changed globals access and attributes