Adds command code