Added sudo management. Added 'unless' for network exec.