add setwpm command