added reset and scaleout for AWS env
diff --git a/web/topology_rest.py b/web/topology_rest.py
index 55a1e46..9bb8b9e 100755
--- a/web/topology_rest.py
+++ b/web/topology_rest.py
@@ -764,17 +764,22 @@
 
 @app.route("/gui/reset")
 def reset_demo():
-  cmd_string="cd ~/bin; ./demo-reset-hw.sh > /tmp/watch &"
+  if (TESTBED == "hw"):
+    cmd_string="cd ~/bin; ./demo-reset-hw.sh > /tmp/watch &"
+  else:
+    cmd_string="cd ~/ONOS/scripts; ./demo-reset-sw.sh > /tmp/watch &"
   os.popen(cmd_string)
   return "Reset" 
 
 @app.route("/gui/scale")
 def scale_demo():
-  cmd_string="cd ~/bin;  ~/bin/demo-scale-out-hw.sh > /tmp/watch &"
+  if (TESTBED == "hw"):
+    cmd_string="cd ~/bin;  ~/bin/demo-scale-out-hw.sh > /tmp/watch &"
+  else:
+    cmd_string="cd ~/ONOS/scripts; ./demo-scale-out-sw.sh > /tmp/watch &"
   os.popen(cmd_string)
   return "scale"
 
-
 @app.route("/gui/switch/<cmd>/<dpid>")
 def switch_status_change(cmd, dpid):
   result = ""