made output folder path centralized, only need to change at top of optscript.py and pltscript.py