replace all switches with globals
Loop regressions using switches. Modify outreg folder paths and filenames