Updated to allow scan_and_load_kernel_modules to be supplied arguments for kernel modules