Added support executing onAll to command option