Updated to reverse the order of dependencies, as appears to be done in the modules.dep file