Allow specifying the output filename/path

This should help with automating this script