Added non-interactive exit to silent mode for scripting purposes