Making choice of commands to be weighted

Signed-off-by: Hao Liu <hliu@redhat.com>