actually registering the command