use random command id when one not given; add ability to access command by id