loop to require modules