add command for setting network preference