TODO updated
for console command fixed exit handling (forces process.exit() now)