exit on error
set commands and flags as secret
correctly handle command name