Must run in cli mode