adds 'is_scope_x?' variables to exports