one more long tag, and adding logic to run in console mode