automate sequential numbering of commands list