Changes made to allow use of the RegressionScript - https://github.com/pevma/RegressionScript