added support for requirments on multiple modules in the same resource when loading another resource