moving th loaded modules to the template