re-organize loading to mitigate problems on windows hosts