Updated regression testing script