add ability to define output in RC file. Closes #1