add scripts for stress testing & minor bugs fixed.