adapt gmv_cmd