Modules now set during loop