added script for regressing for peak paths