scripts to manage Hub using nodejs