added scripts for regression plotting