improvements in loading modules