Add append support to sudo_outf
Enhanced switch_net.sh