Stupid bug fix, was causing HTML output when run as a CLI