added runsim.sh; and using it to invoke everything