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