Allowing the output location to be set.

Defaults to current working directory.