fixes to `include` so that its locals are added to external scope