switch to new-command from optimist