multiple calls only include once - ckeck existing globalPaths - prevent leaking the stack.
test multiple calls don't inject duplicates.