Added support for custom output names

This will be necessary to refactor other commandline interfaces without breaking compatibility (by renaming inputs)