modified appname and run.sh function name.
removed unused code