modified mininet script