add arbitrary command support to speed(1)