Allowing options and output to stdout

- Also defaulting dest to a file, so that it is not required (e.g. when directing output to stdout)