get modules using new load_modules function