Added a way to specify a range for a group of commands. Only those commands with id in this range will be run.