Another handy trick is to shove everything into a subshell. Doesn't work for everything, especially if you want to pass variables around, but for quick things that need to run in a particular directory without affecting the script state, this:
(cd output/day1 &&summaryTool -q -v)
does it all for you.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.