checks for commands before calling them; made calls to add_argument uniform