Allow specifying output. Closes #1

As per #1, here's what I was hoping to accomplish.