DRY up node command configuration and running