added network switching script