Adding the -i option to the sudo addition to the command method in the base node plugin.