change output dir param to use double quotes so env vars resolve