simplify
run uname -r once per script
make module_exists function not to use subshells