I've determined that importing a function from another file, also runs any code not in any function/object (loose code). I discovered it because I have some logging on and could not understand why things were running twice.
Is this intended behavior?
Proof: Code that should not be ran (red dot). green dot is function imported in.
