Minor change to allow get_module_list to be called externally