non-interactive mode