cleaned up oat-register-node.sh