add leader script for dynamo node registration