changed sequence of modules to build