Ensuring latest scripts pushed to repo.
Corrected output file scope.