add option to turn on rpc listeners