- run_command helper to avoid code duplication
- don't pass commands through the shell unless we have to
add metric for number of cores in reservations
- capitalize globals
- don't need tdo explicitly declare a global unless we're going to modify it
consistent quoting, pick some whitespace nits