Add a register command