add a new command extract_datapath