get min and max nodes from an environment variable
refactor variables
setting an assumption for master executors always being busy