Added some exception handling and updated run script to use stresstest