Updating for 1.4 and allowing node # to be set with environment variable

Updates for 1.3
Node # configurable through NUM_NODES env variable, default 3