run in non-interactive mode