normalizing loading of dependencies cross-environments