I have a bug in my code that has something to do with imports and exports. My understanding was that all imports are handled before any code is run, however now I am not so